Argument Controlled Profiling
نویسندگان
چکیده
Profiling tools relate measurements to code context such as function names in order to guide code optimization. For a more detailed analysis, call path or phase-based profiling enhances the context by call chains or user defined phase names, respectively. In this paper, we propose argument controlled profiling as a new type of context extension using the value of function arguments as part of the context. For a showcase simulation code, we demonstrate that this simplifies and enriches the understanding and analysis of code—in particular recursive functions. Due to the new profiling technique, we found optimizations resulting in more than 16% runtime improvement. Argument controlled profiling is implemented as extension of Callgrind, a simulation-based profiling tool using runtime instrumentation.
منابع مشابه
Cosmological argument in proving the existence of God from Imam Khomeini's (RA) point of view
This article reviews Cosmological argument in proving the existence of God from the viewpoint of Imam Khomeini (RA). At first, various views to the existence of God are reviewed and then its etymology will be reviewed. Cosmological argument proves God through universal premises about truth and world and and the Movement Argument, Casual Argument and Necessity and Possibility Argument are dif...
متن کاملDiscourse-Based Reasoning for Controlled Natural Languages
Logic-based controlled natural languages usually provide some facility for compositional representation, minimally including sentence level coordination and sometimes subordination. Although these compositional forms suffice for representing short passages, they can become unwieldy for expressing entire paragraphs and documents. This paper describes an approach to representing larger composite ...
متن کاملThe Argument of Possibility and necessity encountering the critiques of Russell, Hume, and Kant
The argument of possibility and necessity- which is considered as some of the most important arguments in proving the existence of God - have taken a key place in humanschr('39') thoughts. In history, among thinkers related to the creation of the universe, no major philosopher or thinker can be found other than those who have faced this argument; thus this argument has met many criticisms an...
متن کاملThe Effect of Argument Mapping Instruction on L2 Writing Achievement across Writing Tasks and Writing Components: A Case of Iranian EFL Learners
Argument maps as schematic representations of arguments and their logical and evidential relationships are effective diagrams for instruction in education as well as in L2 development. However, their use for teaching L2 writing in EFL contexts has not been adequately studied. Therefore, this study investigated the effect of argument mapping instruction on Iranian EFL learners’ writing achieveme...
متن کاملArguments for the choice of surgical treatments in patients with lumbar spinal stenosis – a systematic appraisal of randomized controlled trials
BACKGROUND Lumbar spinal stenosis is the most common reason for spinal surgery in elderly patients. However, the surgical management of spinal stenosis is controversial. The aim of this review was to list aspects a surgeon considers when choosing a specific type of treatment. METHODS Appraisal of arguments reported in randomized controlled trials (RCTs) included in systematic reviews publishe...
متن کامل